﻿using AutoMapper;
using BCDto.WeChatComponent.WeChatNewsImageRecord;
using BCEntity.WeChatComponent.WeChatNewsImageRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles
{
    public class WeChatNewsImageRecordProfile:Profile
    {
        public WeChatNewsImageRecordProfile()
        {
            CreateMap<WeChatNewsImageRecordEntity, WeChatNewsImageRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatNewsImageRecordDto, WeChatNewsImageRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatNewsImageRecordViewEntity, WeChatNewsImageRecordViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
